home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / Main.bin / ContainerListener.java < prev    next >
Text File  |  1998-09-22  |  1KB  |  41 lines

  1. /*
  2.  * @(#)ContainerListener.java    1.2 98/07/01
  3.  *
  4.  * Copyright 1996-1998 by Sun Microsystems, Inc.,
  5.  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6.  * All rights reserved.
  7.  * 
  8.  * This software is the confidential and proprietary information
  9.  * of Sun Microsystems, Inc. ("Confidential Information").  You
  10.  * shall not disclose such Confidential Information and shall use
  11.  * it only in accordance with the terms of the license agreement
  12.  * you entered into with Sun.
  13.  */
  14.  
  15. package java.awt.event;
  16.  
  17. import java.util.EventListener;
  18.  
  19. /**
  20.  * The listener interface for receiving container events.
  21.  * Container events are provided for notification purposes ONLY;
  22.  * The AWT will automatically handle add and remove operations
  23.  * internally.
  24.  *
  25.  * @version 1.2 07/01/98
  26.  * @author Tim Prinzing
  27.  * @author Amy Fowler
  28.  */
  29. public interface ContainerListener extends EventListener {
  30.     /**
  31.      * Invoked when a component has been added to the container.
  32.      */
  33.     public void componentAdded(ContainerEvent e);
  34.  
  35.     /**
  36.      * Invoked when a component has been removed from the container.
  37.      */    
  38.     public void componentRemoved(ContainerEvent e);
  39.  
  40. }
  41.